//
//  ViewController.m
//  JZShortVideo
//
//  Created by liujz on 31/05/2018.
//  Copyright © 2018 liujz. All rights reserved.
//

#import "ViewController.h"
#import "JZCameraViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)shootBtnTouched:(id)sender {
    JZCameraViewController* shortVideoViewController = [[JZCameraViewController alloc] init];
    shortVideoViewController.type = JZCameraTypePhotoAndShortVideo;
    [self presentViewController:shortVideoViewController animated:YES completion:nil];
}


@end
